<?php
/**
 * Group's Model
 *
 * @category    IPB_CMS
 * @package     Application_Model
 * @copyright   Copyright (c) 2009 IPB CMS <http://ipb-cms.googlecode.com/>
 * @license     http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License
 * @author      Henrique Moody <henriquemoody@gmail.com>
 */
class Model_Group extends App_Model_Abstract
{

    /**
     * ID of the group
     *
     * @var integer
     */
    protected $_groupId;

    /**
     * Sets the ID of the group
     *
     * @param integer $id ID of the group
     * @return Model_Group Fluent interface, returns self
     */
    public function setId($id) {
        if (null !== $id) {
            $this->_groupId = (integer) $id;
        }
        return $this;
    }

    /**
     * Returnst the ID of the group
     *
     * @return integer|null
     */
    public function getId()
    {
        return $this->_groupId;
    }

}
